﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
public partial class Users_Register : Pub_Label
{
    protected void Page_Load(object sender, EventArgs e)
    {
        IsNoReg();
        Response.Write(Request["Action"]);
    }
    /// <summary>
    /// 读取注册协议
    /// </summary>
    /// <returns></returns>
    protected string FillRegProtocolData()
    {
        string Result = "";
        try
        {

            DataSet dataset = new DataSet();
            string xmlFilePath = HttpContext.Current.Server.MapPath(configInfo.InstallDir + "config/Regprotocol.config");
            dataset.ReadXml(xmlFilePath);
            Result = Label_Replace(dataset.Tables["Regprotocol"].Rows[0]["content"].ToString());//
        }
        catch
        {
            Result = "注册协议读取错误!";
        }
        return Result;
    }


}
